home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / ANSI folder / ANSI C⁄C++ Notes
Encoding:
Text File  |  1994-09-28  |  4.7 KB  |  118 lines  |  [TEXT/MMCC]

  1. Metrowerks release note for the ANSI C/C++ standard libraries
  2. =============================================================
  3.  
  4. Version: Post CW/4 Patch Libraries
  5. Date:    September 28th, 1994 
  6. Author:  Berardino Baratta & Michael Marcotty
  7.  
  8. The enclosed libraries are the DR/3 source base but with many, many bug fixes.
  9. All known bugs with the C libraries have been fixed, and many of the C++ bugs
  10. are also fixed.
  11.  
  12. ANSI BUG FIXES
  13. ==============
  14. •    C memory allocation is now much more stable ...
  15. •    Some C++ streams bugs are now fixed (sorry don't have the list ...)
  16. •    Added support for setting how SIOUX handles tabs.  Use the call:
  17.         Boolean SetSIOUXTabMode(Boolean useSpaces, short spaceCount)
  18.     where spaceCount must be greater or equal to zero.  A zero count tells SIOUX to
  19.     just ignore tabs altogether.
  20. •    Fixed bug with SIOUX and ASCII characters >128.
  21. •    Fixed bug with SIOUX and a form feed character "\f", where the position was wrong.
  22. •    Fixed the fflush problem with SIOUX.  As part of the fix I had to remove support for
  23.     setting the buffermode of SIOUX, now users should use 'setbuf' or 'setvbuf' for SIOUX,
  24.     unfortunately SIOUX is now a little slower than before ...  We are now about 10% - 20%
  25.     slower than the 'other' console window for line buffered text but with buffering, using
  26.     the following call
  27.         setvbuf(stdout, NULL, _IOFBF, 50000);
  28.     it takes only 6 ticks to print out 1000 lines of
  29.         "this is a line of output text ..."
  30.     This is reasonable for now but I will try to tweak SIOUX a little more after this
  31.     release.
  32. •    Pressing the mouse during output, will pause the flow of text ...
  33. •    Command-'.' now raises SIGABRT rather than just calling exit.  Also control-c is
  34.     now supported and also raises SIGABRT.
  35. •    Fixed bug with '\b' in output.
  36. •    Fixed bug where file i/o would not behave correctly when acting on the same file
  37.     opened twice with different permissions.
  38. •    Added support for _ftype and _fcreator to set type and creator of created files ...
  39. •    I/O no longer uses FScalls, will work on System 6.0.4 or greater ...
  40.         This version of the ANSI libraries will work correctly on System 6.0.4 machines
  41.         or greater ...
  42. •    The SIOUX window will center itself on the main screen ...
  43.  
  44.  
  45. The libraries are named in the following manner:
  46. ================================================
  47.  
  48. ANSI () C.xxx.Lib
  49. ANSI () C++.xxx.Lib
  50. Complex ().xxx.Lib
  51. ===================
  52.     Where xxx can be either 68K (for 68K development) or PPC (for PowerPC
  53.     development).  See below for more info on the information found in between
  54.     the braces.
  55.  
  56. ANSI () C.xxx.Lib
  57.     •    These libraries contain all the ANSI C standard library functions.
  58. ANSI () C++.xxx.Lib
  59.     •    These libraries contain ANSI C++ standard library functions.  They are
  60.         still not 100% complete since we are waiting on Templates (aren't we all)
  61.         for certain classes (i.e. ios and bits ...).  This library needs functions
  62.         found in ANSI C.xxx.Lib to be able to properly link.
  63. Complex ().xxx.Lib
  64.     •    These libraries contain single precision complex functions.  We hope to
  65.         release both double and long double versions of these libraries in the
  66.         near future.  Tis library needs functions found in the the ANSI C and
  67.         ANSI C++ libraries.
  68.  
  69.  
  70. 68K Library naming conventions
  71. ==============================
  72.  
  73. On the CD there is a more complete set of libraries for 68K machines.  The
  74. naming convention for these libraries are as follows:
  75.  
  76. #i    This gives the size of ints for the library.  (i.e. 2i 2 byte ints, 4i 4
  77.     byte ints)
  78.     
  79. 881    This means that the library was built for use with FPU equipped macintoshes.
  80.     Not having this means that the libraries were built for use with all macintoshes.
  81.  
  82. 8d    This means that the library was built with 8 byte IEEE doubles.  Not having
  83.     this means that doubles are the same size as long doubles and extended types.
  84.     (i.e. 10 byte when using SANE and 12 byte when using the FPU)
  85.  
  86. A4    This means that the library was built with A4 relative data.  These libraries
  87.     are used for building resources.
  88.  
  89.  
  90. Common Problems
  91. ===============
  92.  
  93. I cannot guarantee that the ANSI libraries are 100% bug free, but many reported
  94. bugs can be traced to an improper choice of library version.  Please be certain
  95. that your build settings match those used by the library.
  96.  
  97. For example:
  98. If your build uses FPU (68881) code generation with 8 byte doubles, then you should
  99. link against the ANSI(881/8d) libraries.
  100.  
  101. NB: This only applies to 68K builds, on PowerPC there is only one set of libraries.
  102.  
  103.  
  104. Bug Reports
  105. ===========
  106.  
  107. Please send in your bug reports using the Applelink/Internet BugReport stored
  108. in the release notes folder. Send reports to:
  109.  
  110. Internet:   support@metrowerks.com
  111.       cc:    baratta@metrowerks.ca
  112.               marcotty@aol.com
  113.  
  114. -------------------------------------------------------------------------
  115. Berardino Baratta & Michael Marcotty
  116. CodeWarrior Library Engineers
  117. metrowerks, Inc.
  118.